package com.umanji.image.domain;

import java.util.Date;
import java.util.UUID;

import javax.persistence.AttributeOverrides;
import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.MapsId;
import javax.persistence.OneToOne;
import javax.persistence.Table;

import com.umanji.generic.entity.UUIDEntity;
import com.umanji.security.domain.Users;

@Entity
@Table(name="umanji_image")
public class Images extends UUIDEntity<Images> {

	private String savePath;	// 저장 파일 경로
	private String fileURL;		// 파일 URL
	private Date uploadedDate;	// 파일 생성일
	private Date modifiedDate;	// 파일 수정일

	protected Images() {
		// TODO Auto-generated constructor stub
	}

    public Images(String savePath, String fileURL) {
    	this.savePath = savePath;
        this.fileURL = fileURL;
    }

	public String getSavePath() {
		return savePath;
	}

	public void setSavePath(String savePath) {
		this.savePath = savePath;
	}

	public String getFileURL() {
		return fileURL;
	}

	public void setFileURL(String fileURL) {
		this.fileURL = fileURL;
	}

	public Date getUploadedDate() {
		return uploadedDate;
	}

	public void setUploadedDate(Date uploadedDate) {
		this.uploadedDate = uploadedDate;
	}

	public Date getModifiedDate() {
		return modifiedDate;
	}

	public void setModifiedDate(Date modifiedDate) {
		this.modifiedDate = modifiedDate;
	}
	
}